/* Reset some browser default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Bar styles */
.navbar {
    background-color: #333;
    overflow: hidden;
}

.nav-links {
    list-style-type: none;
}

.nav-links li {
    float: left;
}

.nav-links a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav-links a:hover {
    background-color: #ddd;
    color: black;
}




/* 登录 */
.login-container {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-option {
    margin-bottom: 10px;
}

.login-option label {
    display: inline-block;
    margin-right: 10px;
}

#captcha-image {
    cursor: pointer;
}

form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

#close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: #aaa;
}

#close-button:hover {
    color: #000;
}

.disable-interactions {
    pointer-events: none; /* 禁用所有元素的鼠标交互 */
}

/* 使登录框内的元素仍然可交互 */
.disable-interactions .login-container,
.disable-interactions .login-container * {
    pointer-events: auto !important;
}

/* 确保导航栏元素在登录框打开时也被禁用 */
.navbar, .navbar * {
    pointer-events: none !important;
}